home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / objc.629 < prev    next >
Text File  |  1992-02-06  |  1KB  |  41 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f2\fmodern Courier;\f1\fswiss Helvetica;}
  2. \paperw13040
  3. \paperh10800
  4. \margl120
  5. \margr120
  6. {\colortbl\red0\green0\blue0;}
  7. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ul0\fs28 C++ bug fatal signal 11 collect\
  8. \
  9. Q:  I'm getting the following error message from the C++ compiler:\
  10.  
  11. \pard\tx620\tx1240\tx1860\tx2480\tx3100\tx3720\tx4340\tx4980\tx5600\tx6220\f2\fs24\fc0         cc++: Internal compiler error.  Program collect got fatal signal 11.\
  12.  
  13. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\fs28 What's going on?\
  14. \
  15. A:  You have encountered a known bug in the C++ compiler. 
  16. \fc0 The bug has been fixed, and the fix will be in an upcoming release. This is a bug in the program 
  17. \b collect
  18. \b0  that relates to the use of alloca.  Essentially, the program 
  19. \b collect
  20. \b0  runs out of stack when "collecting" your application, causing it to crash.\
  21. \
  22. There is a workaround. Just increase the stacksize in the shell. Use the 
  23. \b limit
  24. \b0  command to increase your stacksize.  Like this:\
  25. \
  26.  
  27. \f2\fs24 % limit stacksize 10000
  28. \f0\fs28 \
  29. \
  30. On 1.0 this workaround will always work.  However, on 2.0 this workaround does not work when used with the 
  31. \b make
  32. \b0  utility. 
  33. \b make
  34. \b0  hardwires the stacksize rather than reading it from the users default.  So, on 2.0 you must link by hand, or write a little shell script to do it for you.\
  35. \
  36. QA629\
  37. \
  38. Valid for 2.0\
  39. \
  40.  
  41.